﻿<Window x:Class="SDB.PlaylistDisplay"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="PlaylistDisplay" Height="300" Width="300">
	<Window.Resources>
		<DataTemplate x:Key="DataTemplate1">
			<Border>
				<Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition></RowDefinition>
                        <RowDefinition></RowDefinition>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition></ColumnDefinition>
                    </Grid.ColumnDefinitions>
					<Label Grid.Row="0" Grid.Column="0" Margin="0,0,0,0" Content="{Binding Path=Name}" FontSize="14"/>
					<Label Grid.Row="1" Grid.Column="0" Margin="20,0,0,0" Content="{Binding Path=Description}" FontStyle="Italic" />
				</Grid>
			</Border>
		</DataTemplate>
	</Window.Resources>
    <Grid>
        <ListBox x:Name="lstPlaylists" ItemTemplate="{DynamicResource DataTemplate1}"/>
    </Grid>
</Window>
